#pragma once

#include <dinput.h>
#include <d3dx10.h>

class MouseManager
{
private:

	//Direct input stuff
	LPDIRECTINPUT8 m_DirectInputObject;
	LPDIRECTINPUTDEVICE8 m_MouseDevice;

	DIMOUSESTATE m_MouseState;
	D3DXVECTOR3 m_CurrentCoordinates;


public:
	bool Init(HINSTANCE hinstance, HWND hwnd);
	void Update();					//updates mouse state
	D3DXVECTOR3 GetMousePosition();		//returns mouse position
	D3DXVECTOR3 GetMouseMovement();		//returns distance between current and previous mouse position
	bool  MouseButtonDown(int button);
	~MouseManager();



};